package com.dao;

import com.model.PlacedHospital;
import com.model.PlacedHospitalRelationProduct;
import com.po.AdvertisementIdAndHospitalIdPO;
import com.po.SysUserIdAndHospitalIdPO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PlacedHospitalRelationProductMapper {


    int insert(PlacedHospitalRelationProduct record);

    int updateByPrimaryKeySelective(PlacedHospitalRelationProduct record);

    PlacedHospitalRelationProduct selectByPrimaryKey(Long id);

    PlacedHospitalRelationProduct selectByHospitalIdAndProductId(@Param("hospitalId")Long hospitalId, @Param("productId")Long productId);

    List<PlacedHospitalRelationProduct> selectByCondition(PlacedHospitalRelationProduct recode);

}